<template>
  <div>
    <h1>当前计数为：{{ props.msg }}</h1>
  </div>
</template>

<script setup>
import { defineProps } from 'vue'
const props = defineProps({
  msg: {
    type: Number,
    default: 0
  }
})
</script>

<style lang="scss" scoped></style>
